package com.wangjiyuan.shiwupai.ui_food.food;

import com.wangjiyuan.shiwupai.base.IBaseModel;
import com.wangjiyuan.shiwupai.base.IBasePresenter;
import com.wangjiyuan.shiwupai.base.IBaseView;
import com.wangjiyuan.shiwupai.bean.first_food.FoodBean;

import java.util.Map;

import rx.Observable;

/**
 * Created by QXL on 2016/11/28.
 */

public class FoodContract {
    public static interface IFoodModel extends IBaseModel{
        Observable<FoodBean> getFoodObservable(Map<String,String> foodMap);
    }
    public static interface IFoodPresenter extends IBasePresenter{
        void getFoodObservable(Map<String,String> foodMap);
    }
    public static interface IFoodView extends IBaseView{
        void showProgress();
        void hideProgress();
        void loadData(FoodBean foodBean);
    }
}
